//
//  MLConsumeRecord.h
//  Molian
//
//  Created by wansong on 3/24/15.
//  Copyright (c) 2015 xiaocan. All rights reserved.
//
//  财务记录, 包括消费, 充值, 提现

#import <AVOSCloud/AVOSCloud.h>

/*
 * @enum MLConsumeRecordType 财务类型
 */
typedef NS_ENUM(NSUInteger, MLConsumeRecordType)
{
    MLConsumeRecordType_RECHARGE = 1,  // 充值
//    MLConsumeRecordType_CONSUME = 2,  // 消费
//    MLConsumeRecordType_WITHDRAW = 3,  // 提现
};

@interface MLConsumeRecord : AVObject<AVSubclassing>

// 钱
@property NSInteger money;

// 类型
@property NSInteger type;

//备注
@property (nonatomic, strong) NSString *remark;

//序列号（充值必填）
@property (nonatomic, strong) NSString *sn;

// 用户
@property (nonatomic, strong) AVObject *user;

@end
